package com.aizuda.boot.modules.business.contract.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author sangyirong
 * @ClassName WorkflowUpdateDTO
 * @Version 1.0
 * @Date 2025/7/1 09:50
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "合同流程更新DTO")
public class WorkflowUpdateDTO {

    @Schema(description = "合同流程ID", required = true)
    @NotNull
    private Long workflowId;

    @Schema(description = "合同流程名称", required = true)
    @NotNull
    private String workflowName;

    @Schema(description = "合同流程类型", required = true)
    @NotNull
    private String workflowType;

    @Schema(description = "合同流程范围,合同id，多个用','分隔")
    private List<Integer> scope;

    @Schema(description = "适用部门")
    private List<Long> department;

    @Schema(description = "流程定义ID")
    private Long processId;

    @Schema(description = "优先级")
    private Integer priority;

    @Schema(description = "关联的法人ID列表")
    private List<Integer> legalIds;
}
